PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Ripples / various artists - 1200774354134 - mash0000 - what the writer's guild is doing with the extra money.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.959 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.047 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=6 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=1 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.005 |
| 26 | fWaveScale=0.113 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=-0.214 |
| 29 | fModWaveAlphaStart=1.000 |
| 30 | fModWaveAlphaEnd=1.000 |
| 31 | fWarpAnimSpeed=0.778 |
| 32 | fWarpScale=51.512 |
| 33 | fZoomExponent=1.73596 |
| 34 | fShader=0.054 |
| 35 | zoom=1.00059 |
| 36 | rot=0.00438 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.597 |
| 48 | wave_y=0.819 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.301 |
| 51 | ob_g=0.111 |
| 52 | ob_b=0.266 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.622 |
| 56 | ib_g=0.698 |
| 57 | ib_b=0.831 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=-0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.486 |
| 64 | mv_r=1.000 |
| 65 | mv_g=0.675 |
| 66 | mv_b=0.347 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.107 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=20 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=3.46210 |
| 83 | wavecode_0_smoothing=0.51120 |
| 84 | wavecode_0_r=0.569 |
| 85 | wavecode_0_g=0.808 |
| 86 | wavecode_0_b=0.557 |
| 87 | wavecode_0_a=0.288 |
| 88 | wave_0_per_frame1=t1 = 0; |
| 89 | wave_0_per_frame2=j = j + (bass)*0.01; |
| 90 | wave_0_per_frame3=j2 = j2 + (mid_att)*0.01; |
| 91 | wave_0_per_frame4=j3 = j3 + (treb_att)*0.01; |
| 92 | wave_0_per_frame5=t2 = j; |
| 93 | wave_0_per_frame6=pi3 = 3.1415*2*0.3333; |
| 94 | wave_0_per_frame7=t = (q4+q5+q6)*0.005; |
| 95 | wave_0_per_frame8=c = 5; |
| 96 | wave_0_per_frame9=r = if(below(if(above(1-sin(t)*c,1),1,r),0),0,r); |
| 97 | wave_0_per_frame10=cl1 = if(below(if(above(cl1 + 0.002,1),0,cl1),0),1,cl1); |
| 98 | wave_0_per_frame11=g = if(below(if(above(1-sin(t+pi3)*c,1),1,g),0),0,g); |
| 99 | wave_0_per_frame12=b = if(below(if(above(1-sin(t-pi3)*c,1),1,b),0),0,b); |
| 100 | wave_0_per_frame13=cl2 = if(below(if(above(cl2 -1*q1,1),0,cl2),0),1,cl2); |
| 101 | wave_0_per_frame14=cl3 = if(below(if(above(cl3 +0.001,1),0,cl3),0),1,cl3); |
| 102 | wave_0_per_frame15=t6 = cl3; |
| 103 | wave_0_per_point1=t8 = -t8; |
| 104 | wave_0_per_point2=yy = ((xx*1896575575)%10000000+100)/10000000 + t6 - if(above(yy+t6,1),1,0) - 0.5; |
| 105 | wave_0_per_point3=zz = ((yy*58652340875)%10000000+100)/10000000 + t8 - if(above(zz+t8,1),1,0) - 0.5; |
| 106 | wave_0_per_point4=d = sqrt(sqr(xx)+sqr(yy)+sqr(zz)); |
| 107 | wave_0_per_point5=w = 1; |
| 108 | wave_0_per_point6=bb = d*d*0.5; |
| 109 | wave_0_per_point7=n = 0.3; |
| 110 | wave_0_per_point8=s1 = sin(sin(t2*w+bb)*n); |
| 111 | wave_0_per_point9=s2 = sin(sin(t3*w+bb)*n); |
| 112 | wave_0_per_point10=c1 = cos(sin(t2*w+bb)*n); |
| 113 | wave_0_per_point11=c2 = cos(sin(t3*w+bb)*n); |
| 114 | wave_0_per_point12=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 115 | wave_0_per_point13=c3 = cos(sin(t4*w+bb)*n); |
| 116 | wave_0_per_point14=x = 0.5 + zoom*x1 + sin(time*0.1)*0.; |
| 117 | wave_0_per_point15=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); |
| 118 | wave_0_per_point16=r = if(below(if(above(r,1),1,r),0),0,r); |
| 119 | wave_0_per_point17=g = if(below(if(above(g,1),1,g),0),0,g); |
| 120 | wavecode_1_enabled=0 |
| 121 | wavecode_1_samples=512 |
| 122 | wavecode_1_sep=20 |
| 123 | wavecode_1_bSpectrum=1 |
| 124 | wavecode_1_bUseDots=0 |
| 125 | wavecode_1_bDrawThick=1 |
| 126 | wavecode_1_bAdditive=0 |
| 127 | wavecode_1_scaling=4.75054 |
| 128 | wavecode_1_smoothing=0.19200 |
| 129 | wavecode_1_r=0.978 |
| 130 | wavecode_1_g=1.000 |
| 131 | wavecode_1_b=0.930 |
| 132 | wavecode_1_a=1.000 |
| 133 | wave_1_per_frame1=t1 = q1; |
| 134 | wave_1_per_frame2=t2 = q2; |
| 135 | wave_1_per_frame3=t3 = q3; |
| 136 | wave_1_per_frame4=t4 = q4; |
| 137 | wave_1_per_frame5=t5 = q5; |
| 138 | wave_1_per_frame6=t6 = q6; |
| 139 | wave_1_per_frame7=pi3 = 3.1415*2*0.3333; |
| 140 | wave_1_per_frame8=t = (q4+q5+q6)*0.005 + 2; |
| 141 | wave_1_per_frame9=c = 5; |
| 142 | wave_1_per_frame10=r = if(below(if(above(1-sin(t)*c,1),1,r),0),0,r); |
| 143 | wave_1_per_frame11=g = if(below(if(above(1-sin(t+pi3)*c,1),1,g),0),0,g); |
| 144 | wave_1_per_frame12=b = if(below(if(above(1-sin(t-pi3)*c,1),1,b),0),0,b); |
| 145 | wave_1_per_point1=t8 = -t8; |
| 146 | wave_1_per_point2=nd = sqrt(1-sqr((sample-0.5)*2)); |
| 147 | wave_1_per_point3=nz = sample*0.4 - 0.2*(1+t8*p); |
| 148 | wave_1_per_point4=nx = sin(sample*100)*nd*0.2*(1+t8*p); |
| 149 | wave_1_per_point5=g = 0; |
| 150 | wave_1_per_point6=t = (q4-q6)*10; |
| 151 | wave_1_per_point7=c = 2; |
| 152 | wave_1_per_point8=r = if(below(if(above(sin(t)*c,1),1,r),0),0,r); |
| 153 | wave_1_per_point9=b = if(below(if(above(sin(t-pi3)*c,1),1,b),0),0,b); |
| 154 | wave_1_per_point10=dir = (t4-t6)*0.4 + (t1-t3)*(t8+1)*0.2; |
| 155 | wave_1_per_point11=w = t5*0.4 + (t8+1)*t2*0.2; |
| 156 | wave_1_per_point12=zz = nz; |
| 157 | wave_1_per_point13=nyy = ny; |
| 158 | wave_1_per_point14=ny = cos(w)*nyy - sin(w)*zz; |
| 159 | wave_1_per_point15=z = sin(w)*nyy + cos(w)*zz; |
| 160 | wave_1_per_point16=yy = sin(dir)*nx + cos(dir)*ny; |
| 161 | wave_1_per_point17=d = 0.5; |
| 162 | wave_1_per_point18=zoom = 2 - sqrt(t2)*1.1; |
| 163 | wave_1_per_point19=zm = sqrt(nx*nx+ny*ny+sqr(z+d))/d; |
| 164 | wave_1_per_point20=y = 0.5 + zoom*yy*0.55/zm; |
| 165 | wavecode_2_enabled=0 |
| 166 | wavecode_2_samples=512 |
| 167 | wavecode_2_sep=20 |
| 168 | wavecode_2_bSpectrum=1 |
| 169 | wavecode_2_bUseDots=0 |
| 170 | wavecode_2_bDrawThick=1 |
| 171 | wavecode_2_bAdditive=0 |
| 172 | wavecode_2_scaling=23.38429 |
| 173 | wavecode_2_smoothing=0.00000 |
| 174 | wavecode_2_r=1.000 |
| 175 | wavecode_2_g=0.531 |
| 176 | wavecode_2_b=0.670 |
| 177 | wavecode_2_a=0.823 |
| 178 | wave_2_per_frame1=t1 = q9; |
| 179 | wave_2_per_frame2=t2 = q2; |
| 180 | wave_2_per_frame3=t3 = q3*0.5; |
| 181 | wave_2_per_frame4=t4 = q4; |
| 182 | wave_2_per_frame5=t5 = q5; |
| 183 | wave_2_per_frame6=t6 = q6; |
| 184 | wave_2_per_frame7=t7 = q7; |
| 185 | wave_2_per_frame8=t8 = q7; |
| 186 | wave_2_per_point1=sample = 1-sample; |
| 187 | wave_2_per_point2=xx = (-0.5+sample)*2*d1*(1+value1); |
| 188 | wave_2_per_point3=zz = cos(sample*n)*0.02*d1; |
| 189 | wave_2_per_point4=yy = sin(sample*n)*0.02*d1*(1+value2); |
| 190 | wave_2_per_point5=d = sqrt( xx*xx + yy*yy + zz*zz); |
| 191 | wave_2_per_point6=b = rand(1001)*.001*.6; |
| 192 | wave_2_per_point7=m = d*d*2; |
| 193 | wave_2_per_point8=dd = dd*0.95 + (value1); |
| 194 | wave_2_per_point9=ddd = dd*sample*(1-sample)*d; |
| 195 | wave_2_per_point10=y = yy - (xx-xxx)*ddd; |
| 196 | wave_2_per_point11=c1 = cos(t4*w + m*t1); |
| 197 | wave_2_per_point12=c2 = cos(t5*w + m*t2); |
| 198 | wave_2_per_point13=c3 = cos(t6*w + m*t3); |
| 199 | wave_2_per_point14=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; |
| 200 | wave_2_per_point15=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 201 | wave_2_per_point16=na = 2; |
| 202 | wave_2_per_point17=zoom = 0.3*atan2(na-z,na); |
| 203 | wave_2_per_point18=x = 0.5 + zoom*x1; |
| 204 | wave_2_per_point19=pi3 = 3.1415*2*0.3333; |
| 205 | wave_2_per_point20=t = -xx+t5*.2; |
| 206 | wave_2_per_point21=c = 10; |
| 207 | wave_2_per_point22=r = if(below(if(above(sin(t)*c,1),1,r),0),0,r); |
| 208 | wave_2_per_point23=g = if(below(if(above(sin(t+pi3)*c,1),1,g),0),0,g); |
| 209 | wave_2_per_point24=a = 2; |
| 210 | wavecode_3_enabled=0 |
| 211 | wavecode_3_samples=512 |
| 212 | wavecode_3_sep=20 |
| 213 | wavecode_3_bSpectrum=1 |
| 214 | wavecode_3_bUseDots=0 |
| 215 | wavecode_3_bDrawThick=1 |
| 216 | wavecode_3_bAdditive=0 |
| 217 | wavecode_3_scaling=2.24641 |
| 218 | wavecode_3_smoothing=0.06480 |
| 219 | wavecode_3_r=0.907 |
| 220 | wavecode_3_g=0.728 |
| 221 | wavecode_3_b=0.563 |
| 222 | wavecode_3_a=0.999 |
| 223 | wave_3_per_frame1=t1 = q4*0.75; |
| 224 | wave_3_per_frame2=t2 = q2; |
| 225 | wave_3_per_frame3=t3 = q6*0.75; |
| 226 | wave_3_per_frame4=t4 = q4; |
| 227 | wave_3_per_frame5=t5 = q5; |
| 228 | wave_3_per_frame6=t6 = q6*0.75; |
| 229 | wave_3_per_frame7=t7 = q7; |
| 230 | wave_3_per_frame8=t8 = q8; |
| 231 | wave_3_per_point1=t8 = -t8; |
| 232 | wave_3_per_point2=n = 300; |
| 233 | wave_3_per_point3=zz = (-0.5+sample)*2*d1; |
| 234 | wave_3_per_point4=b = rand(1001)*.001*.6; |
| 235 | wave_3_per_point5=yy = sin(sample*n)*0.02*d1*(1+value2); |
| 236 | wave_3_per_point6=d = sqrt( xx*xx + yy*yy + zz*zz); |
| 237 | wave_3_per_point7=w = .3; |
| 238 | wave_3_per_point8=m = d*d*2; |
| 239 | wave_3_per_point9=s1 = sin(t4*w + m*t1); |
| 240 | wave_3_per_point10=s2 = sin(t5*w + m*t2); |
| 241 | wave_3_per_point11=s3 = sin(t6*w + m*t3); |
| 242 | wave_3_per_point12=c1 = cos(t4*w + m*t1); |
| 243 | wave_3_per_point13=c2 = cos(t5*w + m*t2); |
| 244 | wave_3_per_point14=c3 = cos(t6*w + m*t3); |
| 245 | wave_3_per_point15=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; |
| 246 | wave_3_per_point16=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 247 | wave_3_per_point17=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); |
| 248 | wave_3_per_point18=na = 2; |
| 249 | wave_3_per_point19=zoom = 0.3*atan2(na-z,na); |
| 250 | wave_3_per_point20=x = 0.5 + zoom*x1; |
| 251 | wave_3_per_point21=y = 0.5 + zoom*y1; |
| 252 | wave_3_per_point22=pi3 = 3.1415*2*0.3333; |
| 253 | wave_3_per_point23=t = -zz+t6*.2; |
| 254 | wave_3_per_point24=c = 10; |
| 255 | wave_3_per_point25=r = if(below(if(above(sin(t)*c,1),1,r),0),0,r); |
| 256 | wave_3_per_point26=g = if(below(if(above(sin(t+pi3)*c,1),1,g),0),0,g); |
| 257 | wave_3_per_point27=a = 2; |
| 258 | shapecode_0_enabled=0 |
| 259 | shapecode_0_sides=100 |
| 260 | shapecode_0_additive=0 |
| 261 | shapecode_0_thickOutline=1 |
| 262 | shapecode_0_textured=0 |
| 263 | shapecode_0_num_inst=1 |
| 264 | shapecode_0_x=0.500 |
| 265 | shapecode_0_y=0.661 |
| 266 | shapecode_0_rad=0.09070 |
| 267 | shapecode_0_ang=0.00000 |
| 268 | shapecode_0_tex_ang=0.00000 |
| 269 | shapecode_0_tex_zoom=0.59662 |
| 270 | shapecode_0_r=0.643 |
| 271 | shapecode_0_g=0.044 |
| 272 | shapecode_0_b=0.000 |
| 273 | shapecode_0_a=1.000 |
| 274 | shapecode_0_r2=0.398 |
| 275 | shapecode_0_g2=0.722 |
| 276 | shapecode_0_b2=0.172 |
| 277 | shapecode_0_a2=0.680 |
| 278 | shapecode_0_border_r=0.624 |
| 279 | shapecode_0_border_g=1.000 |
| 280 | shapecode_0_border_b=0.503 |
| 281 | shapecode_0_border_a=0.000 |
| 282 | shape_0_per_frame1=t = -(q4+q5)*0.2; |
| 283 | shape_0_per_frame2=x = 0.5 + sin(t)*0.2; |
| 284 | shape_0_per_frame3=rad = 0.4 - cos(t)*0.3; |
| 285 | shapecode_1_enabled=0 |
| 286 | shapecode_1_sides=100 |
| 287 | shapecode_1_additive=0 |
| 288 | shapecode_1_thickOutline=1 |
| 289 | shapecode_1_textured=0 |
| 290 | shapecode_1_num_inst=1 |
| 291 | shapecode_1_x=0.582 |
| 292 | shapecode_1_y=0.451 |
| 293 | shapecode_1_rad=0.43922 |
| 294 | shapecode_1_ang=0.30557 |
| 295 | shapecode_1_tex_ang=0.00000 |
| 296 | shapecode_1_tex_zoom=0.70681 |
| 297 | shapecode_1_r=0.790 |
| 298 | shapecode_1_g=0.002 |
| 299 | shapecode_1_b=0.105 |
| 300 | shapecode_1_a=1.000 |
| 301 | shapecode_1_r2=0.520 |
| 302 | shapecode_1_g2=0.186 |
| 303 | shapecode_1_b2=0.200 |
| 304 | shapecode_1_a2=0.270 |
| 305 | shapecode_1_border_r=1.000 |
| 306 | shapecode_1_border_g=1.000 |
| 307 | shapecode_1_border_b=1.000 |
| 308 | shapecode_1_border_a=0.000 |
| 309 | shape_1_per_frame1=t = -(q4+q5)*0.2; |
| 310 | shape_1_per_frame2=pi = asin(1)*2; |
| 311 | shape_1_per_frame3=x = 0.5 + sin(t+pi)*0.2; |
| 312 | shape_1_per_frame4=yy = if(below(d,0.15),0.3+rand(400)/1000,yy); |
| 313 | shape_1_per_frame5=aang = if(below(d,0.12),rand(1000)/1000,aang); |
| 314 | shape_1_per_frame6=ang = aang*4*asin(1); |
| 315 | shape_1_per_frame7=y = yy; |
| 316 | shapecode_2_enabled=0 |
| 317 | shapecode_2_sides=100 |
| 318 | shapecode_2_additive=0 |
| 319 | shapecode_2_thickOutline=1 |
| 320 | shapecode_2_textured=0 |
| 321 | shapecode_2_num_inst=1 |
| 322 | shapecode_2_x=0.651 |
| 323 | shapecode_2_y=0.552 |
| 324 | shapecode_2_rad=1.07507 |
| 325 | shapecode_2_ang=0.52229 |
| 326 | shapecode_2_tex_ang=0.00000 |
| 327 | shapecode_2_tex_zoom=0.67074 |
| 328 | shapecode_2_r=0.295 |
| 329 | shapecode_2_g=0.000 |
| 330 | shapecode_2_b=0.118 |
| 331 | shapecode_2_a=1.000 |
| 332 | shapecode_2_r2=0.427 |
| 333 | shapecode_2_g2=0.000 |
| 334 | shapecode_2_b2=0.546 |
| 335 | shapecode_2_a2=0.680 |
| 336 | shapecode_2_border_r=1.000 |
| 337 | shapecode_2_border_g=1.000 |
| 338 | shapecode_2_border_b=1.000 |
| 339 | shapecode_2_border_a=0.000 |
| 340 | shape_2_per_frame1=d = sqrt( sqr(xx-q4)+sqr(yy-q8)); |
| 341 | shape_2_per_frame2=xx = if(below(d,0.15),0.4+rand(200)/1000,xx); |
| 342 | shape_2_per_frame3=yy = if(below(d,0.15),0.3+rand(400)/1000,yy); |
| 343 | shape_2_per_frame4=aang = if(below(d,0.12),rand(1000)/1000,aang); |
| 344 | shape_2_per_frame5=ang = aang*4*asin(1); |
| 345 | shape_2_per_frame6=y = yy; |
| 346 | shapecode_3_enabled=0 |
| 347 | shapecode_3_sides=100 |
| 348 | shapecode_3_additive=0 |
| 349 | shapecode_3_thickOutline=1 |
| 350 | shapecode_3_textured=0 |
| 351 | shapecode_3_num_inst=1 |
| 352 | shapecode_3_x=0.500 |
| 353 | shapecode_3_y=0.688 |
| 354 | shapecode_3_rad=0.62269 |
| 355 | shapecode_3_ang=0.00000 |
| 356 | shapecode_3_tex_ang=0.00000 |
| 357 | shapecode_3_tex_zoom=0.96404 |
| 358 | shapecode_3_r=0.891 |
| 359 | shapecode_3_g=0.416 |
| 360 | shapecode_3_b=0.243 |
| 361 | shapecode_3_a=0.964 |
| 362 | shapecode_3_r2=0.192 |
| 363 | shapecode_3_g2=0.692 |
| 364 | shapecode_3_b2=0.170 |
| 365 | shapecode_3_a2=0.243 |
| 366 | shapecode_3_border_r=1.000 |
| 367 | shapecode_3_border_g=1.000 |
| 368 | shapecode_3_border_b=1.000 |
| 369 | shapecode_3_border_a=0.051 |
| 370 | shape_3_per_frame1=x = q1; |
| 371 | shape_3_per_frame2=y = q5; |
| 372 | shape_3_per_frame3=pi3 = 3.1415*2*0.3333; |
| 373 | shape_3_per_frame4=t = (q4-2*q5+q6)*0.2; |
| 374 | shape_3_per_frame5=c = 3; |
| 375 | shape_3_per_frame6=r = if(below(if(above(sin(t)*c,1),1,r),0),0,r); |
| 376 | shape_3_per_frame7=g = if(below(if(above(sin(t+pi3)*c,1),1,g),0),0,g); |
| 377 | shape_3_per_frame8=b = if(below(if(above(sin(t-pi3)*c,1),1,b),0),0,b); |
| 378 | shape_3_per_frame9=r2 = 1-r; |
| 379 | shape_3_per_frame10=g2 = 1-g; |
| 380 | shape_3_per_frame11=b2 = 1-b; |
| 381 | per_frame_init_1=x1 = 0; |
| 382 | per_frame_init_2=y1 = 0; |
| 383 | per_frame_init_3=x2 = 0.5; |
| 384 | per_frame_init_4=x3 = 0.5; |
| 385 | per_frame_init_5=x4 = 0.5; |
| 386 | per_frame_1=decay = 0.25; |
| 387 | per_frame_2=xx1 = xx1*0.9 + (bass)*0.01; |
| 388 | per_frame_3=xx2 = xx2*0.9 + (treb)*0.01; |
| 389 | per_frame_4=lastbeat = nbeat*time + (1-nbeat)*lastbeat + equal(lastbeat,0)*time; |
| 390 | per_frame_5=x1 = 0.5 - (xx1-xx2)*2; |
| 391 | per_frame_6=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1)); |
| 392 | per_frame_7=spring = 50; |
| 393 | per_frame_8=grav = 2; |
| 394 | per_frame_9=q10 = beat; |
| 395 | per_frame_10=dt = 0.0005; |
| 396 | per_frame_11=vx2 = if(below(x2,1),if(above(x2,0),vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring),abs(vx2)*bounce),-abs(vx2)*bounce); |
| 397 | per_frame_12=vy2 = if(below(y2,1),if(above(y2,0),vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav),abs(vy2)*bounce),-abs(vy2)*bounce); |
| 398 | per_frame_13=vx3 = if(below(x3,1),if(above(x3,0),vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring),abs(vx3)*bounce),-abs(vx3)*bounce); |
| 399 | per_frame_14=vy3 = if(below(y3,1),if(above(y3,0),vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav),abs(vy3)*bounce),-abs(vy3)*bounce); |
| 400 | per_frame_15=spy4 = (y3-y4)*spring; |
| 401 | per_frame_16=q6 = tt; |
| 402 | per_frame_17=x2 = x2 + vx2; |
| 403 | per_frame_18=y2 = y2 + vy2; |
| 404 | per_frame_19=x3 = x3 + vx3; |
| 405 | per_frame_20=y3 = y3 + vy3; |
| 406 | per_frame_21=vy4 = if(below(y4,1),if(above(y4,0),vy4*(1-resist*dt) + dt*(spy4-grav),abs(vy4)*bounce),-abs(vy4)*bounce); |
| 407 | per_frame_22=y4 = y4 + vy4; |
| 408 | per_frame_23=q3 = x4; |
| 409 | per_frame_24=q7 = y4; |
| 410 | per_frame_25=q8 = y2; |
| 411 | per_frame_26=q4 = x2; |
| 412 | per_frame_27=q9 = x1; |
| 413 | per_frame_28=q1 = x1; |
| 414 | per_frame_29=q2 = x2; |
| 415 | per_frame_30=q12 = y3; |
| 416 | per_frame_31=zoom = 1; |
| 417 | per_frame_32=mx = max(max(bb,mm),tt); |
| 418 | per_frame_33=mn = min(min(bb,mm),tt); |
| 419 | per_frame_34=ob_r = (bb-mn)/(mx-mn); |
| 420 | per_frame_35=ob_b = (mm-mn)/(mx-mn); |
| 421 | per_frame_36=ob_g = (tt-mn)/(mx-mn); |
| 422 | per_frame_37=q13 = atan2(vx3,vy3); |
| 423 | per_frame_38=q14 = sqrt(vx3*vx3 + vy3*vy3); |
| 424 | per_frame_39=q5 = sqrt(vx2*vx2 + vy2*vy2); |
| 425 | per_pixel_1=w1 = q9; |
| 426 | per_pixel_2=w2 = q10; |
| 427 | per_pixel_3=nx = nx-0.5; |
| 428 | per_pixel_4=ny = ny- 0.5; |
| 429 | per_pixel_5=b1 = 0.075; |
| 430 | per_pixel_6=m1 = q5*50; |
| 431 | per_pixel_7=t1 = 0.1; |
| 432 | per_pixel_8=x1 = nxx +cos(ndir+1.5708)*b1; |
| 433 | per_pixel_9=y1 = nyy -sin(ndir+1.5708)*b1; |
| 434 | per_pixel_10=x2 = nxx -cos(ndir+1.5708)*b1; |
| 435 | per_pixel_11=y2 = nyy +sin(ndir+1.5708)*b1; |
| 436 | per_pixel_12=d1 = sqrt((x1-nx)*(x1-nx)+(y1-ny)*(y1-ny))-b1*2; |
| 437 | per_pixel_13=si1 = 1- 1/(1+pow(2,-d1*100)); |
| 438 | per_pixel_14=d2 = sqrt((x2-nx)*(x2-nx)+(y2-ny)*(y2-ny))-b1*2; |
| 439 | per_pixel_15=si2 = 1- 1/(1+pow(2,-d2*100)); |
| 440 | per_pixel_16=si3 = -pow(q5,3)*10; |
| 441 | per_pixel_17=dx = (si1*sin(y1-ny)*m1*d1 - si2*sin(y2-ny)*m1*d2 + si3*cos(ndir)*t1)*2/aspectx + nv*sin(ndir)*(nr-nd)*(1-sigmoid(nd-nr,280))/aspectx + nv*(nx-nxx)*(nr-nd)*(1-sigmoid(nd-nr,70))/aspectx + (nv*(sin(ny-yy)*(nd-r)-(nx-xx)*(nd-r/2)) + cos(dir)*v2)*(1.00-sigmoid(nd-r,180))/aspectx; |
| 442 | per_pixel_18=dy = (-si1*sin(x1-nx)*m1*d1 + si2*sin(x2-nx)*m1*d2 - si3*sin(ndir)*t1)*2/aspecty + nv*cos(ndir)*(nr-nd)*(1-sigmoid(nd-nr,280))/aspecty + nv*(ny-nyy)*(nr-nd)*(1-sigmoid(nd-nr,70))/aspecty + (-nv*(sin(nx-xx)*(nd-r)+(ny-yy)*(nd-r/2)) -sin(dir)*v2)*(1.00-sigmoid(nd-r,180))/aspecty; |
| 443 | per_pixel_19=ndir = -q2*1 + asin(1)*0; |
| 444 | per_pixel_20=nxx = w1; |
| 445 | per_pixel_21=nyy = 1-w2; |
| 446 | warp_1=`shader_body |
| 447 | warp_2=`{ |
| 448 | warp_3=` float2 scale = float2(1280,1024)*texsize.zw; // 1280x1024 : the resolution i modelled this shader with |
| 449 | warp_4=` float1 d = 0.005; |
| 450 | warp_5=` float1 dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x; |
| 451 | warp_6=` float1 dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y; |
| 452 | warp_7=` float1 dxb = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x; |
| 453 | warp_8=` float1 dyb = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y; |
| 454 | warp_9=` float2 my_uv = uv - float2(dx,dy)*0.01 + float2(dxb,dyb)*0.003; |
| 455 | warp_10=` |
| 456 | warp_11=` |
| 457 | warp_12=` |
| 458 | warp_13=` float2 v = 0.01; |
| 459 | warp_14=` ret.x = tex2D( sampler_fw_main, my_uv -floor(my_uv)*0).x; |
| 460 | warp_15=` |
| 461 | warp_16=` |
| 462 | warp_17=` ret.x += (ret.x - GetBlur3(uv).x)*.1; |
| 463 | warp_18=` ret.x += 0.004; |
| 464 | warp_19=` |
| 465 | warp_20=` |
| 466 | warp_21=`//-------------------------------- |
| 467 | warp_22=` |
| 468 | warp_23=` my_uv = uv + float2(dy,-dx)*0.05*(1.2-GetBlur3(uv).y); |
| 469 | warp_24=` |
| 470 | warp_25=` |
| 471 | warp_26=` |
| 472 | warp_27=` v = 0.01; |
| 473 | warp_28=` ret.z = tex2D( sampler_fw_main, my_uv).z; |
| 474 | warp_29=` |
| 475 | warp_30=` ret.z += (ret.z - GetBlur1(uv).z)*length(my_uv-uv)*180/length(scale); |
| 476 | warp_31=` ret.z *= 0.8; |
| 477 | warp_32=` ret.z += 0.004; |
| 478 | warp_33=` |
| 479 | warp_34=` |
| 480 | warp_35=` |
| 481 | warp_36=`//-------------------------------- |
| 482 | warp_37=` |
| 483 | warp_38=` d = 0.01; |
| 484 | warp_39=` my_uv = float2(-dy,dx)*0.045; |
| 485 | warp_40=` |
| 486 | warp_41=` dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).y*scale.x; |
| 487 | warp_42=` dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).y*scale.y; |
| 488 | warp_43=` my_uv += uv - float2(dx,dy)*0.03; |
| 489 | warp_44=` |
| 490 | warp_45=` |
| 491 | warp_46=` |
| 492 | warp_47=` v = 0.01; |
| 493 | warp_48=` ret.y =tex2D( sampler_fw_main, my_uv).y; |
| 494 | warp_49=` |
| 495 | warp_50=` |
| 496 | warp_51=` ret.y += (ret.y - GetBlur3(my_uv).y)*0.1 + 0.01; |
| 497 | warp_52=`//ret = 0; |
| 498 | warp_53=`} |
| 499 | comp_1=`shader_body |
| 500 | comp_2=`{ |
| 501 | comp_3=`ret = lerp( 0, float3(1, 1, 0), GetBlur2(uv).x*2.5 - GetBlur1(uv).x*0.7 + tex2D(sampler_main, uv).x*0.75); |
| 502 | comp_4=`ret *= 1- GetBlur1(uv).x*1.85; |
| 503 | comp_5=`ret += float3(1,0,0)*tex2D(sampler_main, uv).x + float3(0.25,0.25,0.25)*tex2D(sampler_main, uv).x; |
| 504 | comp_6=`ret *= max(tex2D(sampler_main, uv).y, GetBlur2(uv).y*0.5); |
| 505 | comp_7=`ret *= 1 - saturate(GetBlur1(uv).z*10); |
| 506 | comp_8=`ret += pow(tex2D( sampler_main, uv).z,1.5)*float3(1,1,1); |
| 507 | comp_9=`//ret = tex2D(sampler_main, uv); |
| 508 | comp_10=`} |